package com.nanpu.gyssmallproduct;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 整合mybatis-Plus
 * 1、导入依赖
 * 2、配置
 *  2.1、配置数据源
 *  2.2、配置Mybatis-Plus
 *      使用MapperScan
 *
 */
@MapperScan("com.nanpu.gyssmallproduct.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class GyssmallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GyssmallProductApplication.class, args);
    }

}
